package com.wno704.intf.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName Intf
 * @Description TODO
 * @Author wno704
 * @Date 2023/4/13 16:41
 * @Version 1.0
 */
@Data
public class IntfScript implements Serializable {

    private static final long serialVersionUID = -6790013575308208044L;

    public enum runStatus {
        /**
         * 正常
         */
        NORMAL("0"),
        /**
         * 删除
         */
        DEL("1");

        private String value;

        runStatus(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    public enum logStatus {
        /**
         * 正常
         */
        SAVE("0"),
        /**
         * 删除
         */
        NOSAVE("1");

        private String value;

        logStatus(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    private Long intfId;

    private String script;

    private String method;

    private String url;

    private String status;

    private String isLog;

    private String remark;

    private String createTime;

    private String readTime;

}
